package com.java.common.base.model;

import java.util.Collection;

/**
 * Title:PageBean<br>
 * Description:<br>
 * Company: IBM<br>
 * Copyright @ 2012 .All rights reserved. <br>
 * @author Liuhl<br>
 * @version 2011-6-19 1.0
 */
public interface PageBean  extends SearchBean{

	public abstract int getCount();

	public abstract void setCount(int count);	

	public abstract int getCurrent();
	
	public abstract void setCurrent(int current);
	
	public abstract int getStart();
	
	public abstract void setStart(int start);
	
	public abstract int getPrevious();
	
	public abstract void setPrevious(int previous);
	
	public abstract int getNext();
	
	public abstract void setNext(int next);
	
	public abstract int getPageCount();

	public abstract Collection<Integer> getPageNumList();

	public abstract void setRowCount(int rowCount);
	
	public abstract int getRowCount();
	
	public abstract int getEnd();
	
	public abstract int getMaxResult();
	
	public abstract void setMaxResult(int maxResult);
}